package meconsea.webcoll.uc.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import meconsea.webcoll.base.entity.AbsEntity;
import meconsea.webcoll.base.entity.IEntity;

import org.hibernate.annotations.Type;

/**
 * 客户订阅文章，
 * serviceUser=0则代表订阅全站的文章
 * serviceUser!=0 则代表订阅某一作者的文章。
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name="uc_art_sub")
public class UcArtSub extends AbsEntity implements IEntity {
	
	@Column(name="clientUser",length=32)
	private String clientUser;
	
	@Column(name="serviceUser",length=32)
	private String serviceUser;
	
	@Column(name="subTag",length=1024)
	private String subTag;
	
	@Column(name="subSum")
	@Type(type="integer")
	private int subSum;

	public String getClientUser() {
		return clientUser;
	}

	public void setClientUser(String clientUser) {
		this.clientUser = clientUser;
	}

	public String getServiceUser() {
		return serviceUser;
	}

	public void setServiceUser(String serviceUser) {
		this.serviceUser = serviceUser;
	}

	public String getSubTag() {
		return subTag;
	}

	public void setSubTag(String subTag) {
		this.subTag = subTag;
	}

	public int getSubSum() {
		return subSum;
	}

	public void setSubSum(int subSum) {
		this.subSum = subSum;
	}
}
